<div class="bjui-pageContent tableContent">
        <div class="pageFormContent" style="margin:1px;" data-layout-h="0">
		          <ul class="nav nav-tabs" role="tablist">
                   <li class="active"><a href="#chuku" role="tab" data-toggle="tab">出库记录</a></li>
					<li><a href='#chukus21' role='tab' data-toggle='tab'>出库明细表</a></li><li><a href='#shenhe23' role='tab' data-toggle='tab'>出库审核</a></li>
                  </ul>
		 <div class="tab-content" style="border:0">
           <div class="tab-pane fade active in" id="chuku"><table class="table table-bordered table-striped table-hover">
           <tbody>
		   <tr><td><label for='id_input' class='control-label x85'>ID:</label>{$Rs.id}</td><td><label for='number_input' class='control-label x85'>出库单号:</label>{$Rs.number}</td></tr>
<tr><td><label for='hid_input' class='control-label x85'>合同ID:</label>{$Rs.hid}</td><td><label for='bianhao_input' class='control-label x85'>合同编号:</label>{$Rs.bianhao}</td></tr>
<tr><td><label for='title_input' class='control-label x85'>出库产品:</label>{$Rs.title}</td><td><label for='shuliang_input' class='control-label x85'>出库数量:</label>{$Rs.shuliang}</td></tr>
<tr><td><label for='shijian_input' class='control-label x85'>出库时间:</label>{$Rs.shijian}</td><td><label for='jingban_input' class='control-label x85'>经办人:</label>{$Rs.jingban}</td></tr>
<tr><td><label for='shenheren_input' class='control-label x85'>审核人:</label>{$Rs.shenheren}</td><td><label for='shenhe_input' class='control-label x85'>审核状态:</label>{$Rs.shenhe}</td></tr>
<tr><td><label for='uname_input' class='control-label x85'>添加人:</label>{$Rs.uname}</td><td><label for='addtime_input' class='control-label x85'>添加时间:</label>{$Rs.addtime}</td></tr>
<tr><td><label for='uuname_input' class='control-label x85'>更新人:</label>{$Rs.uuname}</td><td><label for='updatetime_input' class='control-label x85'>更新时间:</label>{$Rs.updatetime}</td></tr>
<tr>
           </tbody>
          </table>
		  </div>
		  
		 <div class='tab-pane fade' id='chukus21'><table class='table table-bordered table-striped table-hover'><php>$chukuslist=M('chukus')->where(array('xid'=>$Rs['id']))->limit(100)->select();</php> <thead> <tr><th>ID</th>
<th>合同编号</th>
<th>产品编号</th>
<th height=30>产品名称</th>
<th>产品分类</th>
<th>产品规格</th>
<th height=30>计量单位</th>
<th height=30>出库数量</th>
<th height=30>备注</th>
<th height=30>经办人</th>
<th>出库时间</th>
<th>审核状态</th>
</tr></thead><tbody><foreach name='chukuslist' item='chukusv'><tr><td>{$chukusv.id}</td>
<td>{$chukusv.number}</td>
<td>{$chukusv.bianhao}</td>
<td>{$chukusv.title|msubstr=###,0,20}</td>
<td>{$chukusv.fenlei}</td>
<td>{$chukusv.type}</td>
<td>{$chukusv.danwei|msubstr=###,0,20}</td>
<td>{$chukusv.shuliang|msubstr=###,0,20}</td>
<td>{$chukusv.beizhu|msubstr=###,0,20}</td>
<td>{$chukusv.jingban|msubstr=###,0,20}</td>
<td>{$chukusv.shijian|substr=###,0,10}</td>
<td>{$chukusv.shenhe}</td>
</tr> </foreach> </tbody> </table></div><div class='tab-pane fade' id='shenhe23'><table class='table table-bordered table-striped table-hover'><php>$shenhelist=M('shenhe')->where(array('xid'=>$Rs['id'],'type'=>CONTROLLER_NAME))->limit(100)->select();</php> <thead> <tr><th>ID</th>
<th height=30>审核结果</th>
<th height=30>审核意见</th>
<th height=30>审核人</th>
<th>审核时间</th>
<th>详细</th></tr></thead><tbody><foreach name='shenhelist' item='shenhev'><tr><td>{$shenhev.id}</td>
<td>{$shenhev.title|msubstr=###,0,20}</td>
<td>{$shenhev.content|msubstr=###,0,20}</td>
<td>{$shenhev.uname|msubstr=###,0,20}</td>
<td>{$shenhev.addtime|substr=###,0,10}</td>
</tr> </foreach> </tbody> </table></div>
		   
		 </div>
        </div>
</div>
<div class="bjui-pageFooter">
    <ul>
       <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
    </ul>
</div>